MATLAB to Fixed-Point C Code Generation and its Application to Real-Time Heartbeat Detection

نویسندگان

  • Torfinn Berset
  • Fabien Massé
  • Iñaki Romero
  • Julien Penders
  • Geir Berset
  • Jos Hulzink
  • Annika Maas
  • Michael di Fazio
چکیده

MATLAB is a popular very-high-level-language used for visualizing, prototyping and performing design-space exploration of algorithms. But, this flexibility comes at the price of high memory consumption and slow execution times, making it unsuitable for use in an embedded system. The possibility of using Embedded MATLAB (EML), a small subset of the MATLAB language compatible with code generation code, is investigated to generate production level C code from a MATLAB algorithm. The hypothesis of this thesis is that this has the potential of bringing together the best of two worlds; a flexible design interface coupled with a resource-constrained and optimized implementation. In this thesis, a workflow is defined to transform an existing algorithm from an unconstrained MATLAB algorithm to a constrained EML implementation. A new tool is also presented for assisting in automated floating-to-fixed-point conversion of MATLAB algorithms. This conversion will also transfer to the generated C code, thus potentially generating production ready C code. To demonstrate the workflow, a case study on a Real-Time Heartbeat Detection algorithm is presented. It is concluded that although this technology is very promising it still has performance and usability problems that is keeping it from reaching its fullest potential, even if existing workarounds for these problems are included. However, Embedded MATLAB might yet serve its purpose as a bridge between software engineers and scientists, providing a common platform for research and development.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fixed point theorem for non-self mappings and its applications in the modular ‎space

‎In this paper, based on [A. Razani, V. Rako$check{c}$evi$acute{c}$ and Z. Goodarzi, Nonself mappings in modular spaces and common fixed point theorems, Cent. Eur. J. Math. 2 (2010) 357-366.] a fixed point theorem for non-self contraction mapping $T$ in the modular space $X_rho$ is presented. Moreover, we study a new version of Krasnoseleskii's fixed point theorem for $S+T$, where $T$ is a cont...

متن کامل

An FPGA Real-time Implementation of the Chen’s Chaotic System for Securing Chaotic Communications

In this paper, we present a new approach for real-time implementation of the Chen’s chaotic system on Field Programmable Gate Array (FPGA). The approach consists on using structural hardware description language (VHDL) with a fixed-point representation, contrary to some previous works which use somewhat non optimal VHDL code generation using automatic code generation tools. The obtained real-ti...

متن کامل

Random fixed point of Meir-Keeler contraction mappings and its application

In this paper we introduce a generalization of Meir-Keeler contraction forrandom mapping T : Ω×C → C, where C be a nonempty subset of a Banachspace X and (Ω,Σ) be a measurable space with being a sigma-algebra of sub-sets of. Also, we apply such type of random fixed point results to prove theexistence and unicity of a solution for an special random integral equation.

متن کامل

Simulation and Verification of Vhdl Design of 32-bit Fpau in Simulink

The HDL Code Generation step in MATLAB generates HDL code from the fixed-point Matlab code. One can generate either VHDL or Verilog code that implements the Matlab design. In addition to generating synthesizable HDL code, HDL CoderTM also generates various reports, including a traceability report that helps to navigate between the Matlab code and the generated HDL code. It also shows resource u...

متن کامل

Converting Models from Floating Point to Fixed Point for Production Code Generation

An essential step in embedded software development, floatingto fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format represents the ideal algorithm behavior but takes little account of the algorithm’s final realization in production software and hardware. Software engin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011